/* Global Styles */
/* #region */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Ubuntu, serif;
  font-size: 16px; 
  background-color: #ffffff;
  overflow-y: scroll;
  overflow-x: hidden;
}

h1 {
  font-family: Ubuntu, sans-serif;
  font-size: 46px;  
}

h2 {
  font-family: Ubuntu, sans-serif;
  font-size: 36px;  
}

p {
  margin: 15px 0; /* Top and bottom margin */
  padding: 5px; /* Optional: padding within the paragraph */
  font-size: 20px;
  line-height: 1.6; /* Adjust the value as needed */
}

/* #endregion */

/* background section */
/* #region */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.background-section {
z-index: 1000;
position: relative;
background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
padding: 20px;
border-radius: 0px;
max-width: 600vw; /* Maximum width on larger screens */
margin: 20px auto;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for effect */
width: 100%; /* Takes 90% of the screen width on smaller devices */
}

.background-content-section {
width: 100%;
border-bottom: 4px solid #ffffff; /* vertical line */
border-top: 4px solid #ffffff; /* vertical line */
padding: 20px;
background-color: transparent; /* White background inside the content */
min-height: 200px; /* Adjust based on content */
border-radius: 0px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
.background-section {
  padding: 15px; /* Less padding for smaller screens */
  max-width: 100%; /* Allow it to stretch on smaller screens */
}

.background-content-section {
  padding: 15px; /* Less padding for content */
}
}

@media (max-width: 480px) {
.backgrounnd-section {
  padding: 10px; /* Even less padding for mobile devices */
  border-radius: 5px; /* Less rounding on small screens */
}

.background-content-section {
  padding: 10px; /* Compact padding for smaller devices */
  min-height: 150px; /* Reduce minimum height for smaller screens */
}
}
/* #endregion */

/* text design */
/* #region */
.centered-text {
  text-align: center; /* Center the text */
}

.black-text {
  color: black; /* Makes text black */
}

.highlight-blue {
  color: #54c5c9; /* Change this to your desired color */
  font-weight: bold; /* Optional: make the text bold */
}

.highlight-darker-blue {
  color: #21a7c5; /* Change this to your desired color */
  font-weight: bold; /* Optional: make the text bold */
}

.highlight-dark-blue {
  color: #06242b; /* Change this to your desired color */
  font-weight: bold; /* Optional: make the text bold */
}

.blue-textbox {
  color: #ffffff; /* Change this to your desired color */
  font-weight: bold;
  border-radius: 10px;
  background-color: #21a7c5;
  padding: 10px;
}

.underline-black {
  text-decoration: underline;
  text-decoration-color: #000000;
}

.nav-icon {
  padding-right: 10px;
}

.icon-extra-padding { /* for icons that dont have equal padding*/
  padding-right: 5px;
}

.no-padding {
  padding: 0px;
}
/* #endregion */

/* top/side nav */
/* #region */
*{
  margin: 0;
  padding: 0;
}

nav{
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
  border: 2px solid #5ce1e6;
  height: 60px; /* Set a fixed height for the navbar */
  background-color: #ffffff; 
  z-index: 2000;
  box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.532);
  border-radius: 30px;
  width: 90%;
  margin: 10px auto 0; /* Centers the nav and adds 10px top margin */
  position: fixed; /* Fixes the navbar to the viewport */
  top: 0; /* Anchors it to the top of the viewport */
  left: 50%; /* Centers the navbar horizontally */    
  transform: translateX(-50%); /* Corrects centering for left alignment */
}

nav ul{
  width: 100%; /* changes items within nav spacing*/
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li{
  height: 40px; /* Can be kept or adjusted based on design */
  margin: 8px 8px; /* Add spacing between pills & center pills*/
}

nav a{
  height: 100%;
  padding: 0px 30px;
  color:#21a7c5; /* Change text color to ensure visibility */
  border-radius: 50px; /* Make it pill-shaped */
  background-color: transparent; /* Light background */
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-image {
  font-family: Ubuntu, sans-serif;
  font-size: 30px;  
  color: #000000;
  padding: 0px;
  padding-left: 5px;
  pointer-events: none;
}

.nav-image img {
  height: 90px; /* Fixed height, adjust as needed */
  width: auto;
  margin-bottom: -2px;
}

nav a:hover{
  transition: 0.3s;
  color: #5ce1e6;
  background-color:#21a7c51c;
}

nav li:first-child{
  margin-right: auto;
}

.sidebar{
  position: fixed;
  z-index: 30000;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background: linear-gradient(to bottom right, #5ce1e6 0%, #21a7c5 100%);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li{
  width: 100%;
}

.sidebar a{
  padding: 8px 8px 8px 10px;
  text-decoration: none;
  font-size: 25px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #21a7c5; /* Hover color */
  transition: 0.3s; /* Add smooth transition */
}

.menu-button{
  display: none;
}

@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}

@media(max-width: 400px){
  .sidebar{
    width: 50%;
  }
}

/* #endregion */

/* Hero Section Styles */
/* #region */
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-image {
  z-index: 1000;
  margin-top: -70px; /* Optional: adjust the padding to provide space for the navbar */
  background-image: linear-gradient(rgba(0, 0, 0, 0.099), rgb(0, 0, 0)), url("../images/hero_image/hero_image.png");
  height: 90vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

/* #endregion */

/* about */
/* #region */
.about-content { 
  margin-top: 80px;
  margin-left: 60px;
  margin-right: 60px;
  display: flex; /* Use flexbox for layout */
  align-items: center; /* Center items vertically */
  justify-content: space-between;
}

.about-text {
  flex: 1; /* Allow text to take available space */
  font-family: Ubuntu, serif;
}

.about-image {
  margin-left: 20px; /* Space between text and image */
}

/* Ensure the image is responsive */
.about-image img {
  max-width: 100%; /* Scale image to fit its container */
  height: auto; /* Maintain aspect ratio */
  width: 30vw;
  height: 65vh;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Stack the image and text */
    align-items: center; /* Center both image and text */
  }
  
  .about-image {
    margin-left: 0; /* Remove margin on small screens */
    margin-bottom: 20px; /* Add space below the image */
  }
  
  .about-image img {
    width: 50vw; /* Allow image to shrink on small screens */
    height: auto; /* Maintain aspect ratio */
  }
}


/* #endregion */

/* info-box */
/* #region */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.info-box {
  font-size: large;
  z-index: 0;
  position: relative;
  background-color: #ffffff9a; /* Light gray background */
  padding: 20px;
  border-radius: 20px;
  max-width: 600vw; /* Maximum width on larger screens */
  margin: 20px auto;
  width: 90%; /* Takes 90% of the screen width on smaller devices */
}

.content-box {
  z-index: 100;
  font-family: Ubuntu, sans-serif;
  border-left: 4px solid #5ce1e6; /* Green vertical line */
  padding: 20px;
  background-color: #ffffff; /* White background inside the content */
  min-height: 200px; /* Adjust based on content */
  border-radius: 10px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
  .info-box {
    padding: 15px; /* Less padding for smaller screens */
    max-width: 100%; /* Allow it to stretch on smaller screens */
  }

  .content-box {
    padding: 15px; /* Less padding for content */
  }
}

@media (max-width: 480px) {
  .info-box {
    padding: 10px; /* Even less padding for mobile devices */
    border-radius: 5px; /* Less rounding on small screens */
  }

  .content-box {
    padding: 10px; /* Compact padding for smaller devices */
    min-height: 150px; /* Reduce minimum height for smaller screens */
  }
}
/* #endregion */

/* card */
/* #region */
.card-container {
  display: flex;               /* Use flexbox to align cards horizontally */
  flex-wrap: wrap;            /* Allow cards to wrap to the next line */
  justify-content: space-around; /* Space between cards */
  gap: 20px;                  /* Optional: space between cards */
  padding: 20px;              /* Optional: padding around the container */
}

.card {
  font-family: Ubuntu, serif;
  flex: 1 1 300px;            /* Allow card to grow and shrink with a base width of 300px */
  max-width: 320px;           /* Set a maximum width for larger screens */
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  display: flex;
  flex-direction: column;     /* Ensure card content stacks vertically */
  height: 100%;               /* Ensures the card has a height */
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
  position: relative;
  width: 100%;
}

.card-image img {
  width: 100%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #21a7c5;
  color: #ffffff;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
}

.card-body {
  padding: 20px;
  flex: 1;                    /* Allow the body to take all available space */
  display: flex;
  flex-direction: column;     /* Stack items vertically */
  justify-content: space-between; /* Distribute space between items */
}

.card-header {
  text-align: center; /* Center the text */
  display: flex;
  flex-direction: column; /* Stack items vertically to ensure center alignment */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  margin-bottom: 10px;
}

.card-header h2 {
  font-size: 20px;
  color: #21a7c5;
  margin: 0;
}

.price {
  text-align: center;
  background-color: transparent;
  color: rgb(0, 0, 0);
  width: 50%;               /* Set a width to control how wide the price box is */
  padding: 10px 10px;
  border-radius: 5px;
  font-size: 20px;
  margin: 2px auto;         /* Center the price element horizontally */
}

.description {
  margin-left: 10px;
  font-size: 16px;
  color: #000000;
  margin-bottom: 10px;
}

.list-items {
  font-family: Arial, Helvetica, sans-serif;
  list-style-type: none;
  padding: 0;
  margin: 0 0 10px;
}

.list-items li {
  font-size: 14px;
  color: #161616;
  margin-bottom: 5px;
}

.button-section {
  border-top: 1px solid #21a7c5;
  padding-top: 14px;
  display: flex;               /* Use flexbox for alignment */
  justify-content: center;     /* Center the button horizontally */
}

.button-section button {
  background-color: transparent;
  color: #21a7c5;
  border: 2px solid #21a7c5;
  padding: 5px 10px; /* Reduced padding for a smaller button */
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold; /* Makes text bold */
  transition: 0.3s;
}

.button-section button:hover {
  background-color: #21a7c5;
  color: white;
}

@media (max-width: 480px) {   /* Tablet and smaller screens */
  .card-container {
      justify-content: center; /* Center cards on smaller screens */
  }

  .card {
      flex: 1 1 100%;         /* Cards will take full width */
      max-width: none;        /* Remove max-width to utilize full width */
  }
}

@media (max-width: 480px) {   /* Mobile screens */
  .card-container {
      padding: 10px;          /* Adjust padding for mobile */
  }

  .card {
      padding: 10px;          /* Optional: Adjust card padding */
  }
}


/* #endregion */

/* modal-box for card */
/* #region */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 50000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  width: 80%;
  height: fit-content;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  padding-left: 10px;
  color: #ffffff;
  top: 19px;
  right: 20px; /* Move button to the left */
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #21a7c5;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  display: grid; /* Use grid layout */
  grid-template-columns: 1fr auto; /* Two columns: one for content, one for the close button */
  align-items: center;
  justify-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px 16px;
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  border-bottom: 2px solid #21a7c5;
  color: white;
}

.modal-header-content {
  padding-right: 20px; /* Optional padding to avoid content touching the close button */
  white-space: normal; /* Allow content to wrap */
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  margin: auto; /* Center footer horizontally */
  width: 40%;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  border-top: 4px solid #5ce1e6;
  border-radius: 1px;
  background-color: #ffffff;
  color: rgb(0, 221, 255);
}

/* #endregion */

/* footer */
/* #region */
/* Footer Styles */
.modern-footer {
  background-color: #21a7c5;
  color: #fff;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 30px;
  font-family: 'Arial', sans-serif;
  text-align: left;
}

.footer-column h3 {
  color: #5ce1e6; /* Accent color for headings */
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column p {
  margin-top: -10px;
  font-size: 16px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #54c5c9;
}

/* Social Media Icons */
.social-icons a {
  color: #ffffff;
  margin-right: 15px;
  margin-left: 3px;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #54c5c9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-footer {
    grid-template-columns: 1fr; /* Stack columns vertically on smaller screens */
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    margin-left: 8px;
  }
}

/* #endregion */